package com.kgc.entity;

import java.util.Date;

public class Repair {
    private Integer id;

    private String content;

    private Integer userId;
    private String userName;
    private String status;

    private Date time;

    private String result;

    public Repair() {
    }

    public Repair(Integer id, String content, String userName, String status, Date time, String result) {
        this.id = id;
        this.content = content;
        this.userName = userName;
        this.status = status;
        this.time = time;
        this.result = result;
    }

    public Repair(String content, Integer userId, String status, Date time, String result) {
        this.content = content;
        this.userId = userId;
        this.status = status;
        this.time = time;
        this.result = result;
    }

    public Repair(Integer id, String content, Integer userId, String status, Date time, String result) {
        this.id = id;
        this.content = content;
        this.userId = userId;
        this.status = status;
        this.time = time;
        this.result = result;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result == null ? null : result.trim();
    }
}